package com.kgc.cgprovider.dao;

import com.kgc.cgapi.pojo.GYBJInfo;
import com.kgc.cgapi.pojo.GYBJPojo;

import java.util.List;
import java.util.Map;

public interface GYBJDao {
    List<GYBJPojo> getGYBJPage(Map<String, Object> map);

    int addGYBJ(Map<String, Object> map);
    int addGYBJInfo(Map<String, Object> map);

    GYBJPojo getGYBJ(String code);
    List<GYBJInfo>  getGYBJInfo(String code);

    int modiGYBJ(Map<String, Object> map);
    int modiGYBJInfo(Map<String, Object> map);
    int delGYBJInfo(String major_code);

    List<GYBJPojo> getGYBJByCGXJ(String xj_code);

    int closeGYBJByCGXJ(String xj_code);
}
